home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / ppmquantall.1 < prev    next >
Text File  |  1995-07-25  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ppppppppmmmmqqqquuuuaaaannnnttttaaaallllllll((((1111))))    XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((22227777 JJJJuuuullllyyyy 1111999999990000))))    ppppppppmmmmqqqquuuuaaaannnnttttaaaallllllll((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           ppmquantall - run ppmquant on a bunch of files all at once,
  10.           so they share a common colormap
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           ppppppppmmmmqqqquuuuaaaannnnttttaaaallllllll _n_c_o_l_o_r_s _p_p_m_f_i_l_e ...
  14.  
  15.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.           Takes a bunch of portable pixmap as input.  Chooses _n_c_o_l_o_r_s
  17.           colors to best represent all of the images, maps the
  18.           existing colors to the new ones, and oooovvvveeeerrrrwwwwrrrriiiitttteeeessss tttthhhheeee iiiinnnnppppuuuutttt
  19.           ffffiiiilllleeeessss with the new quantized versions.
  20.  
  21.           Verbose explanation: Let's say you've got a dozen pixmaps
  22.           that you want to display on the screen all at the same time.
  23.           Your screen can only display 256 different colors, but the
  24.           pixmaps have a total of a thousand or so different colors.
  25.           For a single pixmap you solve this problem with _p_p_m_q_u_a_n_t;
  26.           this script solves it for multiple pixmaps.  All it does is
  27.           concatenate them together into one big pixmap, run _p_p_m_q_u_a_n_t
  28.           on that, and then split it up into little pixmaps again.
  29.  
  30.           (Note that another way to solve this problem is to pre-
  31.           select a set of colors and then use _p_p_m_q_u_a_n_t's ----mmmmaaaapppp option
  32.           to separately quantize each pixmap to that set.)
  33.  
  34.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  35.           ppmquant(1), ppm(5)
  36.  
  37.      BBBBUUUUGGGGSSSS
  38.           It's a csh script.  Csh scripts are not portable to System
  39.           V.  Scripts in general are not portable to non-Unix
  40.           environments.
  41.  
  42.      AAAAUUUUTTTTHHHHOOOORRRR
  43.           Copyright (C) 1991 by Jef Poskanzer.
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 9/7/93)
  64.  
  65.  
  66.  
  67.